public class Sample2Extension {
    Sample2Controller controller;
    public Sample2Extension(Sample2Controller controller) {
        this.controller = controller;
    }

}